package com.xxin.pojo.entity;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
    @author 小欣
    @version 1.0
    @since 1.8
*/

/**
 * 开药批次明细表
 */
public class PrescriptionBatchDetail implements Serializable {
	private Long id;
	
	/**
	 * 开药明细表主键ID
	 */
	private Long prescriptionDetailId;
	
	/**
	 * 药品批次表主键ID
	 */
	private Long drugBatchId;
	
	/**
	 * 用药数量
	 */
	private Integer usedAmount;
	
	/**
	 * 生产日期
	 */
	private LocalDate productionDate;
	
	/**
	 * 创建时间
	 */
	private LocalDateTime createdTime;
	
	/**
	 * 修改时间
	 */
	private LocalDateTime updatedTime;
	
	private static final long serialVersionUID = 1L;
	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public Long getPrescriptionDetailId() {
		return prescriptionDetailId;
	}
	
	public void setPrescriptionDetailId(Long prescriptionDetailId) {
		this.prescriptionDetailId = prescriptionDetailId;
	}
	
	public Long getDrugBatchId() {
		return drugBatchId;
	}
	
	public void setDrugBatchId(Long drugBatchId) {
		this.drugBatchId = drugBatchId;
	}
	
	public Integer getUsedAmount() {
		return usedAmount;
	}
	
	public void setUsedAmount(Integer usedAmount) {
		this.usedAmount = usedAmount;
	}
	
	public LocalDate getProductionDate() {
		return productionDate;
	}
	
	public void setProductionDate(LocalDate productionDate) {
		this.productionDate = productionDate;
	}
	
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
	
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}
	
	public LocalDateTime getUpdatedTime() {
		return updatedTime;
	}
	
	public void setUpdatedTime(LocalDateTime updatedTime) {
		this.updatedTime = updatedTime;
	}
}